<div style="margin-bottom:10px">
<table class="from_table2_one top-1">	
	<thead>
		<tr class="area_ajax_list_title">
			<th class="pd-left" width="300"><tpl> $langSysproductShop </tpl></th>
			<th width="180"><tpl> $langSysShopProCateNum </tpl></th>
			<th width="200"></th>
		</tr>
	</thead>
	<tpl> section name=i loop=$category_array </tpl>
		<tr>
			<td class="pd-left" width="300" align="left">
				<a href="javascript:;" onclick="ajax_view('<tpl> $category_array[i].shop_id </tpl>');"><tpl> $category_array[i].shop_name </tpl></a>
			</td>
			<td width="200" align="left"><tpl> $category_array[i].count </tpl></td>
			<td width="200" align="left">
				<a href="javascript:;" onclick="ajax_list_cate('<tpl> $category_array[i].shop_id </tpl>');"><tpl> $langSysShopProCateListCate </tpl></a>
			</td>
		</tr>
	<tpl> /section </tpl>

</table>
<div class="table-5-bottom"><div class="btn_marginright"><tpl> $pagelist </tpl></div></td></div>
</form>
</div>
<script>
$(document).ready(function(){
	
});
function ajax_view(id){
	ShowDiv='result_content';
	getPageContent('shoplink.manage.php?action=show&audit_state=<tpl> $audit_state </tpl>&curpage=<tpl> $curpage </tpl>&from_where=shopproductcate&shopid='+id);
}
//
function ajax_list_cate(id){
	ShowDiv='result_content';
	getPageContent('shopproductcate.manage.php?action=list_cate&shop_id='+id);
}
</script>	